import { Component,OnInit } from '@angular/core';

@Component({
  selector:'product-sell',
  templateUrl:'./product.sell.html'
})

export class ProductSellComponent{


  constructor(){}


  // 日趋势
  timeType:string = 'day';//or month

  // data
  data:any;


  ngOnInit(){

  }

  // 日期的处理
  dateOnChange(data) {

    console.log(data);

    this.timeType = data.timeType;

    this.data = data;

    console.log('lk');

  }


}
